﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DispatchAssist.Weather.Enums;
using DispatchAssist.Weather.Interfaces;

namespace DispatchAssist.Weather.Entities
{
    [Serializable]
    class WeatherMapInfo : IWeatherMapInfo
    {
        public Guid WeatherMapInfoID { get; set; }

        public Guid WeatherMapTypeID { get { return WeatherMapType.WeatherMapTypeID; } }

        public string InfoID { get; set; }

        public string Name { get; set; }


        public decimal LocationX { get; set; }

        public decimal LocationY { get; set; }

        public decimal BeginLocationX { get; set; }

        public decimal BeginLocationY { get; set; }

        public decimal EndLocationX { get; set; }

        public decimal EndLocationY { get; set; }

        public decimal ScaleX { get; set; }
        public decimal ScaleY { get; set; }

        public IWeatherMapType WeatherMapType { get; private set; }

        public WeatherMapInfo(IWeatherMapType mapType)
        {
            WeatherMapType = mapType;
        }
    }
}
